// API配置
import { API_BASE_URL } from "../api/routerToMain"


export {API_BASE_URL}

// API路径配置
export const API_PATHS = {
  CHAT: '/small_chat/stream',
  History: '/small_chat/history',
  DOCUMENT: '/document/stream',
  PAN_QUERY: '/pan/query'
}

// 获取完整的API URL
export const getApiUrl = (path: string) => `${API_BASE_URL}${path}` 